/*
 * conceptualBO.java
 *
 * Created on March 5, 2007, 8:07 PM
 *
 */

package edu.byu.isys413.group1E.data;

import java.util.Calendar;
import java.util.Date;

/**
 * Contains information for a Conceptual Rental
 * @author Jon Tehero
 */
public class ConceptualRentalBO extends ConceptualBO {
    
    private double pricePerDay;
    private double replacementPrice;
    private int maxTimesRented;
    private double lateFeePerDay;
    
    /** Creates a new instance of conceptualBO */
    ConceptualRentalBO() {
    }
    
    /**
     * Creates a new instance of TransactionBO with an ID
     * @param ProductID contains the id for the product to be read
     */
    ConceptualRentalBO(String ProductID) {
        setProductID(ProductID);
        this.setDirty(true);
    }
    
    /**
     * Returns the price per day
     * @return pricePerDay
     */
    public double getPricePerDay() {
        return pricePerDay;
    }
    
    /**
     * Sets the price per day
     * @param pricePerDay contains the price per day
     */
    public void setPricePerDay(double pricePerDay) {
        this.pricePerDay = pricePerDay;
        this.setDirty(true);
    }
    
    /**
     * Returns the replacement price
     * @return replacement price
     */
    public double getReplacementPrice() {
        return replacementPrice;
    }
    
    /**
     * Sets the replacement price
     * @param replacementPrice contains the replacement price
     */
    public void setReplacementPrice(double replacementPrice) {
        this.replacementPrice = replacementPrice;
        this.setDirty(true);
    }
    
    /**
     * gets the maximum times rented
     * @return maxTimesRented
     */
    public int getMaxTimesRented() {
        return maxTimesRented;
    }
    
    /**
     * sets the max times rented
     * @param maxTimesRented contains the times rented
     */
    public void setMaxTimesRented(int maxTimesRented) {
        this.maxTimesRented = maxTimesRented;
        this.setDirty(true);
    }
    
    /**
     * Gets the late fee per day
     * @return late fee per day
     */
    public double getLateFeePerDay() {
        return lateFeePerDay;
    }
    
    /**
     * sets the late fee per day
     * @param lateFeePerDay contains the late fee per day
     */
    public void setLateFeePerDay(double lateFeePerDay) {
        this.lateFeePerDay = lateFeePerDay;
        this.setDirty(true);
    }
    
    
}
